package com.base.testmvvm.database;

import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Embedded;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.Ignore;
import android.arch.persistence.room.PrimaryKey;


@Entity(tableName = "orders")
public class Order {


    @PrimaryKey
    @ColumnInfo(name = "order_id")

    public long orderId;

    @ColumnInfo(name = "address")
    public String address;


    @Ignore
    public String ignoreText;

    @Embedded
    public OwnerAddress ownerAddress;
}
